POV-Ray : Newsgroups : povray.general : Laser lines : Re: Laser lines Server Time
4 Aug 2024 04:12:50 EDT (-0400)
  Re: Laser lines  
From: stoecher
Date: 22 Nov 2003 17:00:02
Message: <web.3fbfd9e59a8fede7cf187cb30@news.povray.org>
Christopher James Huff wrote:
>light_source {Point, Color}
>light_source {Point, -Color
>    projected_through {
>        union {plane {y,-0.1} plane {-y,-0.1}}
>    }
>}

great idea!
But there is a problem with shadows,
as can be seen in the scene below.
Is this a bug in povray?

thank you,

Wolfgang
--------------------------------------
#include "colors.inc"
camera {location <0,20,20> look_at <0,0,0>}
light_source {<-14,20,30> White}

#declare LaserPoint = <0,0,20>;
light_source {LaserPoint, Red}
light_source {LaserPoint, -Red
    projected_through {
        union {plane {y,-0.3} plane {y,0.3}}
    }
}

cylinder
{ <0,-3,0>, <0,3,0>, 8 open
  pigment {Yellow}
}
triangle
{ <12,-3,0> <16,-3,0> <14,3,0>
  pigment {Yellow}
}
// background plane showing green shadows!
plane {z,-10 pigment{White}}


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.